<div class="page-header">
    <h5 class="content-title"><%= __('timed.task') %></h5>
    <div class="pull-left">
        <ul class="fl">
            <li>
                <button class="btn btn-block btn-info newAccount"><i class="fui-plus-circle icon-menu"></i></i>
                    <span><%= __('timed.addTimedTask') %></span>
                </button>
            </li>
        </ul>
    </div>
</div>
<div class="queryCondition">
    <form class="query-form">
        <div class="row">
            <div class="col-md-4">
                <label><%= __('timed.groupName') %>：</label>
                <input type="text" name="groupName_like" placeholder="<%= __('timed.addTimedTask') %>">
            </div>
            <div class="col-md-4">
                <label><%= __('timed.taskName') %>：</label>
                <input type="text" name="jobName_like" placeholder="<%= __('timed.fuzzyQueryByTaskName') %>">
            </div>
            <div class="col-md-4">
                <label><%= __('timed.JOBAndPATH') %>：</label>
                <input type="text" name="classPath_like" placeholder="<%= __('timed.fuzzyQueryByJOBPATH') %>">
            </div>
        </div>
        <div class="row">
            <div class="col-md-4">
                <label><%= __('timed.taskDescription') %>：</label>
                <input type="text" name="description_like" placeholder="<%= __('timed.fuzzyQueryByTaskDiscription') %>">
            </div>
        </div>
        <div class="row">
            <div class="col-md-2">
                <button type="button" class="btn btn-sm btn-inverse btn-query"><%= __('account.search') %></button>
            </div>
        </div>
    </form>
</div>

<div class="dolphin-col-24 main" id="myContent">
    <div class="panel panel-primary box">
        <div class="panel-heading box-title">
            <h3 class="panel-title">
                <i class="fa fa-table fa-lg" aria-hidden="true"></i>
                <%= __('timed.timedTasksList') %>
            </h3>
            <div class="actions">
                <a class="btn btn-mini content-refresh" href="#">
                    <i class="fa fa-refresh"></i>
                </a>
            </div>
        </div>
        <div id="userList" class="box-content"></div>
    </div>
</div>

<div class="modal" id="account_win">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal"
                        aria-label="Close">
                    <span aria-hidden="true">&times;</span>
                </button>
                <span class="modal-title"><%= __('timed.timedTasksMaintanence') %></span>
            </div>
            <div class="modal-body">
                <div class="tab-pane">
                    <form class="form-horizontal edit-form">
                        <input type="hidden" class="form-control" name="id">
                        <input type="hidden" name="type" value="1">
                        <div class="form-group">
                            <label class="col-md-offset-1 col-md-2 control-label"><%= __('timed.taskName') %></label>
                            <div class="col-md-6">
                                <input class="form-control" name="jobName" type="text" dol-validate="required">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-md-offset-1 col-md-2 control-label"><%= __('timed.groupName') %></label>
                            <div class="col-md-6">
                                <input class="form-control" name="groupName" type="text" dol-validate="required">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-md-offset-1 col-md-2 control-label"><%= __('timed.kulunExpression') %></label>
                            <div class="col-md-6">
                                <input class="form-control" name="cronExpression" type="text" dol-validate="required">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-md-offset-1 col-md-2 control-label"><%= __('timed.JOBAndPATH') %></label>
                            <div class="col-md-6">
                                <input class="form-control" name="classPath" type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-md-offset-1 col-md-2 control-label"><%= __('timed.taskDescription') %></label>
                            <div class="col-md-6">
                                <input class="form-control" name="description" type="text">
                            </div>
                        </div>
                    </form>
                </div>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-primary btn_submit"><%= __('account.save') %></button>
                <button type="button" class="btn btn-default" data-dismiss="modal"><%= __('account.delete') %></button>
            </div>
        </div>
        <!-- /.modal-content -->
    </div>
    <!-- /.modal-dialog -->
</div>

<script src="<%= global.config.publicPath %>/page/scripts/<%= path %>.js"></script>